<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="jsp_header.jsp"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" href="/resources/common/adminCommon.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<jsp:include page="main_header.jsp"></jsp:include>
<body>
	<div id="container" style="height: 589px;">
		<jsp:include page="uesrInfo_left.jsp"></jsp:include>
		<div id="content">
			<table border="0" cellpadding="0" cellspacing="0" width="710">
				<tr>
					<td height="10"></td>
				</tr>
			</table>
			<table border="0" cellpadding="5" cellspacing="1" width="770"
				class="cmfont" bgcolor="#CCCCCC">
				<tr bgcolor="F0F0F0" height="23" class="cmfont">
					<td width="420" align="center">상품</td>
					<td width="70" align="center">수량</td>
					<td width="80" align="center">가격</td>
					<td width="90" align="center">합계</td>
					<td width="80" align="center">주문상태</td>
				</tr>


				<form name="form1" method="post" style="width: 821px;">
					<c:forEach items="${userOrder}" var="userOrder" varStatus="cnt">
						<c:if test="${userOrder.STATUS=='주문취소'}">
							<tr>
								<td height='60' align='center' bgcolor='#FFFFFF'>
									<table cellpadding='0' cellspacing='0' width='100%'>
										<tr>
											<td width='60'><img
												src="/resources/image/${userOrder.image}" width='50'
												height='50' border='0'></a></td>
											<td class='cmfont'><a
												href='ProductDetail?no=${userOrder.no}'>${userOrder.NAME}</a><br>
												<font color='#0066CC'>[옵션사항]</font>${userOrder.opts1} &nbsp;
												${userOrder.opts2}</td>
										</tr>

									</table>
								</td>

								<td align='center' bgcolor='#FFFFFF'><input type='text'
									name='quantity' size='3' value='${userOrder.quantity}'
									class='cmfont1'><font color='#464646'>개</font></td>

								<td align='center' bgcolor='#FFFFFF' style="width: 100px;"><font color='#464646'>
								<fmt:formatNumber value="${userOrder.PRICE}" type="currency" /></font></td>
								<td align='center' bgcolor='#FFFFFF' style="width: 100px;"><font color='#464646'>
								<fmt:formatNumber value="${userOrder.PRICE * userOrder.quantity}"
											type="currency" /></font></td>
								<td align='center' bgcolor='#FFFFFF'><font color='red'>배송취소</font></td>
							</tr>
						</c:if>


					</c:forEach>
				</form>
			</table>
		</div>
	</div>
	<div><jsp:include page="main_bottom.jsp"></jsp:include></div>
</body>
</html>